package com.lln.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lln.pojo.po.EmployeePo;
import org.apache.ibatis.annotations.Select;

import java.util.List;


public interface EmployeeMapper extends BaseMapper<EmployeePo> {
    @Select("select * from sys_employee")
    List<EmployeePo> findAll();
    @Select("select * from sys_employee where id = #{id}")
    EmployeePo findById(Integer id);
}
